package com.example.paper.mvp.contract;

import com.example.mvp.model.BaseEntity;
import com.example.mvp.model.IModel;
import com.example.mvp.view.IView;
import com.example.paper.brean.LoginBean;
import com.example.paper.brean.ResultBean;

import java.util.Map;

import io.reactivex.Observable;

public interface LoginContract {

    interface LoginModel extends IModel {
        Observable<BaseEntity> requestLogin(Map<String, Object> map);
        Observable<BaseEntity> requestUpload(Map<String, Object>map);
    }

    interface LoginView extends IView {
        void refresh(BaseEntity baseEntity);
    }

}
